package cn.shadow.beans;

/**
 * 构造方法呀什么的，如果使用了自定义的对象，且已经注入到IOC容器之中了
 * 当前类就维护这个玩意
 * @author 冯啸迪
 */
public class BeanReference {

    private String beanName;

    private Class<?> type;

    public BeanReference(String beanName) {
        this.beanName = beanName;
    }

    public BeanReference(Class<?> type) {
        this.type = type;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public Class<?> getType() {
        return type;
    }

    public void setType(Class<?> type) {
        this.type = type;
    }
}
